package cn.buddha.jesj.thread.jvm;

import java.util.concurrent.Callable;

/**
 * @author shihao
 * @description thread
 */
public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 10; i++) {
            System.err.println("i = " + i);
        }
        return "线程执行完毕!";
    }
}
